package com.pan.behavioral.stratergy.shop.strategy;

import com.pan.behavioral.stratergy.pattern.Strategy;

public class VIPConsumerStrategy implements Strategy<Double,Double> {

    private double discount = 0.95;
    @Override
    public Double operation(Double data) {
        return data * discount;
    }
}
